home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
028a
/
unzipem.zip
/
UNZ.DOC
< prev
Wrap
Text File
|
1992-01-03
|
4KB
|
92 lines
Unzipem
Requires: PKUNZIP.EXE and UNZ.COM, both somewhere on your path.
WHY UNZ?
You can unzip files from the command line, and if you're good at
typing in filenames, go right ahead. I make a fair number of
typing errors, so I'd just as soon pick a file off a list.
I have written UNZ as a tool for simplifying unzipping files. I
know there are several programs that can do this task, and much
more besides: ARCMASTER comes to mind, a program I am often happy
to use. ARCMASTER is a much more extensive and complete front
end for PKZIP, PKUNZIP, LIST, and so on. UNZ is a one-cycle,
single function program that loads quickly and only does one
task: calls PKUNZIP and passes it a filename to process.
HOW I WORK WITH *.ZIP FILES
When I make batch downloads from BBSs, after logging off the BBS,
I go examine the "catch of the day," a collection of *.ZIP files
that may not have much connection to each other, except that I
wanted to download them. I move these files, one at a time, from
my download directory C:\DWNLD to C:\DWNLD\VIEW. I put one or at
most two ZIP files in the C:\DWNLD\VIEW directory, where I then
run UNZ to unzip the file I choose. After unzipping a single ZIP
file, the program ends. This leaves me in the command line where
I might next want to look at documentation or run the program
that was just unzipped.
Nothing stays for long in C:\DWNLD\VIEW. If the uncompressed
files look useful or interesting, I may test them out or read
them a while, but soon they must move to a more permanent home or
be deleted. When I have finished relocating or throwing away all
the files in C:\DWNLD\VIEW, then it's time to move the next ZIP
file in from C:\DWNLD, and start all over again.
I have set UNZ to exit after unzipping a single ZIP file. This
supports the way I work -- I don't want to be unzipping bunches
of unrelated files all into the same directory. It would make a
mish-mash.
HOW IT WORKS
Call UNZ from any directory that has one or more ZIP files that
you would like to unzip. Unzipem is a front end for PKUNZIP,
written for one specific task. Unzipem displays one at a time
the names of all the *.ZIP files, working through the list
alphabetically. As it displays each filename, it gives a choice
among three actions:
"OK" - unzip the file named in the top line.
the screen clears and PKUNZIP uncompresses the
files from the ZIP file, then the program exits.
"NEXT" - show the name of the next file in the list.
If you keep choosing "NEXT" through the end of
the list, this message displays:
"You have seen all the ZIP files."
"Choose OK to see the list again."
"EXIT" - leave the program.
THE SOURCE CODE
UNZ.BLD contains the source code for Unzipem. I wrote and
compiled UNZ in Builder, from Hyperkinetix. Notice how much the
code looks like Pascal, except that a lot of its functions are
related to operating system tasks.
I look forward to any comments, pro or con. I hope someone finds
this program useful. I have only tested UNZ on a few computers.
While I haven't run into any trouble, it may be too early to say
as of today's date, 01/3/92.
Alfred L. Wallace
Milwaukee, WI
on Exec-PC at 414-789-4210
2400,N,8,1
Note:
PKUNZIP.EXE is a shareware program by PKWARE, Inc.
UNZ.COM by Alfred L. Wallace, source code in file UNZ.BLD,
both files in public domain.
ARCMASTER is from New-Ware Shareware Products